export const formRules = {
  categoryType: [
    { required: true, message: '请输入品类类型', trigger: 'change' }
  ],
  categoryName: [
    { required: true, message: '请输入分类名称', trigger: 'blur' }
  ],
  categoryNo: [
    { required: true, message: '请输入分类编码', trigger: 'blur' }
  ],
  position: [
    { required: true, message: '请输入位置', trigger: 'blur' }
  ],
  state: [
    { required: true, message: '请选择是否启用', trigger: 'change' }
  ],
  productTemplateNames: [
    { required: true, message: '请选择关联商品模板', trigger: 'change' }
  ],
  unitNames: [
    { required: true, message: '请选择关联计量单位', trigger: 'change' }
  ],
  classificationNames: [
    { required: true, message: '请选择关联归类名称', trigger: 'change' }
  ],
  isPriceSensitive: [
    { required: true, message: '请选择是否价格敏感', trigger: 'change' }
  ],
  guideAddRate: [
    { required: true, message: '请输入售价指导加价率', trigger: 'blur' }
  ],
  sellWellAddRate: [
    { required: true, message: '请输入畅销指导加价率', trigger: 'blur' }
  ],
  limitAddRate: [
    { required: true, message: '请输入成交最低加价率', trigger: 'blur' }
  ],
}
